﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gmail.Views;
using Gmail.Presenters;
namespace Gmail.App
{
    public class App
    {
        private static EmailForm EmailForm=null;
        private static LoginForm LoginForm=null;
        private static EmailPresenter EmailPresenter = null;
        private static LoginPresenter LoginPresenter = null;
        public static void Init()
        {
            EmailForm = new EmailForm();
            LoginForm = new LoginForm();
            EmailPresenter = new EmailPresenter(EmailForm);
            LoginPresenter = new LoginPresenter(LoginForm,EmailPresenter);
        }

        public static void ShowLogin(){
            LoginForm.Show();
        }

        
    }
}
